*{
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

body{
  background-color: #f5f6f8;
}
/* 头部 */
.header{
  height: 60px;
  background-color: #fff;
  display: flex;
  position: relative;

  .left{
    position: absolute;
    left: 20px;
    top: 0px;
    line-height: 60px;
    font-size:20px;
    font-weight: bold;
  }

  .center{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;

    select{
      width: 60px;
      height: 30px;
      margin: 0 2px;
      border: none;
      font-size: 16px;
    }
    

  }
}

/* 收入总览 */
.summary{
  width: 330px;
  height: 190px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;

  .title{
    width: 100%;
    text-align: center;
    height: 40px;
    padding: 14px;
    font-size: 20px;
    color: #333;
  }

  .content1, .content2{
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 16px 0;
    text-align: center;

    .introduce{
      font-size: 16px;
      color: #999;
    }

    .number{
      margin-top: 4px;
      font-size: 18px;
      color: #333;
      font-weight: bold;
    }
  }
}

/* 每日统计 */
.dailyStatistics{
  width: 330px;
  height: 290px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;
  padding: 10px;

  .bar{
    width: 100%;
    height: 220px;
  }

  .choose{
    width: 200px;
    height: 44px;
    background-color: #f5f6f8;
    margin: 5px auto;
    padding: 4px;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;

    .item{
      width: 64px;
      height: 30px;
      // background-color: red;
      text-align: center;
      line-height: 30px;
      border-radius: 20px;
      font-size: 16px;
    }
    .item.active{
      background-color: #fff;
    }
  }
}

/* 分类报表 */
.classifiedStatement{
  width: 330px;
  // height: 290px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;
  padding: 10px;

  .headText{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #333;
  }

  .pie{
    margin-top: 10px;
    width: 100%;
    height: 220px;
    // background-color: pink;
  }

  .choose{
    width: 120px;
    height: 44px;
    border-radius: 30px;
    background-color: #f5f6f8;
    margin: 5px auto;
    padding: 4px;
    display: flex;
    justify-content: space-around;
    align-items: center;

    .item{
      width: 58px;
      height: 30px;
      // background-color: red;
      text-align: center;
      line-height: 30px;
      border-radius: 26px;
      font-size: 16px;
    }
    .item.active{
      background-color: #fff;
    }
  }
}

/* 日报表 */
.dailyStatement{
  width: 330px;
  // height: 200px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;
  padding: 10px;

  .title{
    margin-top: 5px;
    text-align: center;
    font-size: 20px;
  }

  .table{
    margin-top: 10px;

    .theader{
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      padding: 5px;
      margin-left: 10px;
    }

    .theader div:nth-child(2){
      margin-left: 16px;
    }


    .item{
      border-top: 1px solid #999;
      display: flex;
      justify-content: space-between;
      padding: 5px;

      
      .income,.expenditure,.balance{
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .date{
        width: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}